package cn.hengzhu.main_manager.repository.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ManageCaseType implements Serializable {
    /**
     * 主键ID
     *
     * @mbg.generated
     */
    private Integer typeId;

    /**
     * 名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 收费类型（0，免费  1.计时   2.记次）
     *
     * @mbg.generated
     */
    private Byte payType;

    /**
     * 收费时间（1.使用后收费  2.使用前收费）
     *
     * @mbg.generated
     */
    private Byte payTime;

    /**
     * 金额
     */
    private String price;

    /**
     * 公司ID
     *
     * @mbg.generated
     */
    private Integer compId;

    /**
     * 计时时使用（计时收费的时间）单位小时
     *
     * @mbg.generated
     */
    private String userTime;
    
    /**
     * 计时时使用（收费上限）单位元
     *
     * @mbg.generated
     */
    private String feeCap;
    
    /**
     * 是否可以中途取物(1.是   0.否）
     */
    private Byte isMidwayFetch;

    /**
     * 1.是  0 否
     *
     * @mbg.generated
     */
    private Byte isDefault;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date crateTime;

    /**
     * 区分大中小柜的价格字段（大中小按逗号分隔）
     *
     * @mbg.generated
     */
    private String priceSize;

    /**
     * 收取押金
     *
     * @mbg.generated
     */
    private BigDecimal cashPledge;

    /**
     * 是否强制绑定手机号（0否 1是）
     *
     * @mbg.generated
     */
    private Byte isBindMobile;

    /**
     * 中途取件时是否重新计费 1.是  0.否
     *
     * @mbg.generated
     */
    private Byte isHalfwayRestart;

    /**
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @mbg.generated
     */
    public Integer getTypeId() {
        return typeId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getFeeCap() {
		return feeCap;
	}

	public void setFeeCap(String feeCap) {
		this.feeCap = feeCap;
	}

	/**
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getPayType() {
        return payType;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getPayTime() {
        return payTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPayTime(Byte payTime) {
        this.payTime = payTime;
    }

    /**
     *
     * @mbg.generated
     */
    public String getPrice() {
        return price;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPrice(String price) {
        this.price = price;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getCompId() {
        return compId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCompId(Integer compId) {
        this.compId = compId;
    }

    /**
     *
     * @mbg.generated
     */
    public String getUserTime() {
        return userTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setUserTime(String userTime) {
        this.userTime = userTime;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getIsDefault() {
        return isDefault;
    }

    /**
     *
     * @mbg.generated
     */
    public void setIsDefault(Byte isDefault) {
        this.isDefault = isDefault;
    }

    /**
     *
     * @mbg.generated
     */
    public Date getCrateTime() {
        return crateTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCrateTime(Date crateTime) {
        this.crateTime = crateTime;
    }

    /**
     *
     * @mbg.generated
     */
    public String getPriceSize() {
        return priceSize;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPriceSize(String priceSize) {
        this.priceSize = priceSize;
    }

    /**
     *
     * @mbg.generated
     */
    public BigDecimal getCashPledge() {
        return cashPledge;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCashPledge(BigDecimal cashPledge) {
        this.cashPledge = cashPledge;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getIsBindMobile() {
        return isBindMobile;
    }

    /**
     *
     * @mbg.generated
     */
    public void setIsBindMobile(Byte isBindMobile) {
        this.isBindMobile = isBindMobile;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getIsHalfwayRestart() {
        return isHalfwayRestart;
    }

    public Byte getIsMidwayFetch() {
		return isMidwayFetch;
	}

	public void setIsMidwayFetch(Byte isMidwayFetch) {
		this.isMidwayFetch = isMidwayFetch;
	}

	@Override
	public String toString() {
		return "ManageCaseType [typeId=" + typeId + ", name=" + name + ", payType=" + payType + ", payTime=" + payTime
				+ ", price=" + price + ", compId=" + compId + ", userTime=" + userTime + ", feeCap=" + feeCap
				+ ", isDefault=" + isDefault + ", crateTime=" + crateTime + ", priceSize=" + priceSize + ", cashPledge="
				+ cashPledge + ", isBindMobile=" + isBindMobile + ", isHalfwayRestart=" + isHalfwayRestart + "]";
	}

	/**
     *
     * @mbg.generated
     */
    public void setIsHalfwayRestart(Byte isHalfwayRestart) {
        this.isHalfwayRestart = isHalfwayRestart;
    }
}